By counting the entities in Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, Entities, this inversion control method handles the request to count all TEntity entities in the underlying Linq to SQL data context.

Name Description
OnCount() By counting the entities in Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, Entities, this inversion control method handles the request to count all TEntity entities in the underlying Linq to SQL data context.
OnCount(Func<TEntityBoolean>) By counting the desired entities in Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, Entities, this inversion control method handles the request to count all TEntity entities in compliance with the filtering criteria.
OnCount(TFilteringCriteria) Handles the request to count all TEntity entities in compliance with the TFilteringCriteria. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).